$(function($){

	$.fn.dropdown = function(options){
	
		var defaults = {
			width: 75,
			height: 75,
			event_width: 75,
			event_height: 100,
			speed: 200,
			movedirection: "height"
		};

		var options = $.extend(defaults, options);

		var frame = options.frame;
		var speed = options.speed;
		var movedirection = options.movedirection.toLowerCase();
	
		function makeTall(){
			$(this).animate({"height":options.event_height}, speed); 
		};

		function makeShort(){
			$(this).animate({"height":options.height},speed);
		};

		function makeWide(){
			$(this).animate({"width":options.event_width}, speed);
		};

		function makeNarrow(){
			$(this).animate({"width":options.width}, speed);
		};

		this.each(function(){
			if(movedirection=="width"){
				$(this).hover(makeWide, makeNarrow);
			}else{
				$(this).hover(makeTall, makeShort);
			}
		});

	};

});